<% include header %>
<% include nav %>

<p style="color: #5bc0de;text-align: center; font-size: 24px;font-weight: bold">温馨提示：点击下面的表格的字段名可进行排序操作</p>
<table border="0" style="margin: 20px auto; border:solid 1px #DDDDDD;width:800px;" cellpadding="0" cellspacing="0" id="tb1">
    <tr>
        <th>序号</th>
        <th>用户id</th>
        <th>用户名</th>
        <th>登录时间</th>
    </tr>
   <% fangkes.forEach(function (fangke,index) { %>
        <tr>
            <td><%= index+1 %></td>
            <td><%= fangke._id %></td>
            <td><%= fangke.name %></td>
            <td><%= fangke.second %></td>
        </tr>
    <% })%>
</table>

<script language="javascript" type="text/javascript">
    window.onload = function()
    {
        new TableSorter("tb1");
    }
</script>
<% include footer %>